package kr.co.doriclassic.pro11;

public class UnderGraduate extends Student {
	private String club;
	public UnderGraduate(String name, String id, String major, int grade,
			int unit, String club) {
		super(name, id, major, grade, unit);
		this.club = club;
	}
	@Override
	public String toString() {
		return "학부생 [동아리=" + club + ", 이름=" + name + ", 학번=" + id
				+ ", 전공=" + major + ", 학년=" + grade + ", 이수학점=" + unit
				+ "]";
	}
	
}
